# -*- coding: utf-8 -*-
"""
Created on Tue Oct 17 21:09:29 2023

@author: 楠川之木
"""

#利用lambda()函数输出列表中所有的负数
f=lambda x:x<0
list=[3,5,-7,9,-10]
for i in filter(f,list):
	print(i)
